package com.glsc.ngateway.common.base.repo.mysql.gateway.platform;


import com.glsc.ngateway.common.base.domain.mysql.gateway.platform.flow.FlowFormEventDetailImprove;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FlowFormEventDetailImproveRepo extends JpaRepository<FlowFormEventDetailImprove, String>, JpaSpecificationExecutor<FlowFormEventDetailImprove> {

    //根据流程Id检索表单对应的整改明细项目
    List<FlowFormEventDetailImprove> findAllByProcessIdAndBeDeleted(String processId,String beDeleted);

    FlowFormEventDetailImprove findByImproveId(Integer improveId);
}
